package com.aimee.entity;

import java.util.Date;

public class ExamPaper {
    int exampaper_id;//试卷id
    int user_id;//创建者id
    int course_id;//课程分类id
    String exampaper_name;//试卷名
    String exampaper_desc;//试卷描述
    int exampaper_score;//试卷总分
    Date create_time;//创建时间
    int exampaper_type;//试卷类型

    public ExamPaper() {
        super();
    }

    public ExamPaper(int user_id, int course_id, String exampaper_name, String exampaper_desc, int exampaper_score, int exampaper_type) {
        this.user_id = user_id;
        this.course_id = course_id;
        this.exampaper_name = exampaper_name;
        this.exampaper_desc = exampaper_desc;
        this.exampaper_score = exampaper_score;
        this.exampaper_type = exampaper_type;
    }

    public ExamPaper(int course_id, String exampaper_name, String exampaper_desc, int exampaper_score, int exampaper_type) {
        this.course_id = course_id;
        this.exampaper_name = exampaper_name;
        this.exampaper_desc = exampaper_desc;
        this.exampaper_score = exampaper_score;
        this.exampaper_type = exampaper_type;
    }

/*    public ExamPaper(int exampaper_id, int user_id, int course_id, String exampaper_name, String exampaper_desc, int exampaper_score, Date create_time) {
        this.exampaper_id = exampaper_id;
        this.user_id = user_id;
        this.course_id = course_id;
        this.exampaper_name = exampaper_name;
        this.exampaper_desc = exampaper_desc;
        this.exampaper_score = exampaper_score;
        this.create_time = create_time;
    }*/

    public ExamPaper(int exampaper_id, int user_id, int course_id, String exampaper_name, String exampaper_desc, int exampaper_score, Date create_time, int exampaper_type) {
        this.exampaper_id = exampaper_id;
        this.user_id = user_id;
        this.course_id = course_id;
        this.exampaper_name = exampaper_name;
        this.exampaper_desc = exampaper_desc;
        this.exampaper_score = exampaper_score;
        this.create_time = create_time;
        this.exampaper_type = exampaper_type;
    }

    public int getExampaper_id() {
        return exampaper_id;
    }

    public void setExampaper_id(int exampaper_id) {
        this.exampaper_id = exampaper_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getCourse_id() {
        return course_id;
    }

    public void setCourse_id(int course_id) {
        this.course_id = course_id;
    }

    public String getExampaper_name() {
        return exampaper_name;
    }

    public void setExampaper_name(String exampaper_name) {
        this.exampaper_name = exampaper_name;
    }

    public String getExampaper_desc() {
        return exampaper_desc;
    }

    public void setExampaper_desc(String exampaper_desc) {
        this.exampaper_desc = exampaper_desc;
    }

    public int getExampaper_score() {
        return exampaper_score;
    }

    public void setExampaper_score(int exampaper_score) {
        this.exampaper_score = exampaper_score;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public int getExampaper_type() {
        return exampaper_type;
    }

    public void setExampaper_type(int exampaper_type) {
        this.exampaper_type = exampaper_type;
    }

    @Override
    public String toString() {
        return "ExamPaper{" +
                "exampaper_id=" + exampaper_id +
                ", user_id=" + user_id +
                ", course_id=" + course_id +
                ", exampaper_name='" + exampaper_name + '\'' +
                ", exampaper_desc='" + exampaper_desc + '\'' +
                ", exampaper_score=" + exampaper_score +
                ", create_time=" + create_time +
                '}';
    }
}
